﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;

namespace Oroboros
{
    public class ItemLocation : INotifyPropertyChanged
    {
        private int myX, myY;
        private EquipLocations myEquippedLocation;

        public int X
        {
            get { return this.myX; }
            set { this.myX = value; }
        }

        public int Y { get { return this.myY; } set { this.myY = value; } }
        public EquipLocations EquippedLocation { get { return this.myEquippedLocation; } set { this.myEquippedLocation = value; } }

        public event PropertyChangedEventHandler PropertyChanged;
        public void Changed(string n)
        {
            if (!string.IsNullOrEmpty(n))
                PropertyChanged(this, new PropertyChangedEventArgs(n));
        }
    }
}
